export const isMobile = (): boolean => {
  let flag = navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)
  return flag !== null
}